gui/tray: Use standard native buttons for bottom buttons in user status selector...
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Thu, 27 Feb 2025 07:05:18 +0000 (15:05 +0800)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 3 Mar 2025 16:18:31 +0000 (16:18 +0000)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/UserStatusSelector.qml

index 15abf6595d8767eba6214bfcf449ed7cea79ce4c..207c5206da204b3d178f8095b33c423c041bc3e7 100644 (file)
@@ -321,26 +321,22 @@ ColumnLayout {
         Layout.fillWidth: true
         Layout.alignment: Qt.AlignBottom
 
-        UserStatusSelectorButton {
+        Button {
             // Prevent being squashed by the other buttons with larger text
             Layout.minimumWidth: implicitWidth
             Layout.fillHeight: true
-            primary: true
             text: qsTr("Cancel")
             onClicked: finished()
         }
-        UserStatusSelectorButton {
+        Button {
             Layout.fillWidth: true
             Layout.fillHeight: true
-            primary: true
             text: qsTr("Clear status message")
             onClicked: userStatusSelectorModel.clearUserStatus()
         }
-        UserStatusSelectorButton {
+        Button {
             Layout.fillWidth: true
             Layout.fillHeight: true
-            primary: true
-            colored: true
             focusPolicy: Qt.StrongFocus
             text: qsTr("Set status message")
             onClicked: userStatusSelectorModel.setUserStatus()